package com.qiche.service;

import com.github.pagehelper.PageInfo;
import com.qiche.model.Resources;

import java.util.List;
import java.util.Map;

/**
 * Created by Linzw on 2018/01/24.
 */
public interface ResourcesService extends IService<Resources> {
    PageInfo<Resources> selectByPage(Resources resources, int start, int length);
    List<Resources> selectByParentId(Integer parentId);
    List<Resources> queryAll();

    List<Resources> loadUserResources(Map<String,Object> map);

    List<Resources> queryResourcesListWithSelected(Integer rid,Integer prid);
    List<Resources> queryTopResourcesListWithSelected(Integer rid);
}
